< previous page page_650 next page >

Page 650
Pictures
rptimage.gif To add a picture to a report, first draw a RptImage control on the Report Designer window. Next, load a picture into the control by displaying the Properties window and clicking the ellipsis button next to the Picture property. Select a picture file just as you would for a standard Image or PictureBox control. Figure 29.7 shows a corporate logo in a report header that was added using the RptImage control.
0650-01.jpg
Figure 29.7
You can add pictures to a Data
Report by using the RptImage control.
Although the RptImage control is similar to the standard Image control, it is a different control with its own set of properties. Some of the more notable differences are as follows:
The PictureAlignment property allows you to position an image within the image control, similar to the way you can align text within the label control.
More choices are available for the BorderStyle property in the RptImage control than with a standard Image control.
The SizeMode property is more versatile than the Image control's Stretch property; it also allows a zoom setting in which the picture is magnified until it reaches the borders of the control.
Lines and Shapes
rptshape.gif In addition to adding pictures to a report, you can add lines and other shapes by using the RptLine and RptShape controls. These controls work similarly to the Line and Shape controls discussed in Chapter 19, ''Using Visual Design Elements." Figure 29.8 shows a report that uses several lines and rectangles to highlight information.
sarrow.gifSee "Using the Line and Shape Controls," p. 426
0650-02.jpg
Figure 29.8
Adding shapes to the Detail section
causes them to be repeated for each record.

 
< previous page page_650 next page >